
package com.example.xlzx.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xlzx.entity.PsychologicalNews;


/**
 * <p>
 * 心理资讯表 服务类
 * </p>
 *
 * @author 1
 * @since 2025-03-07
 */
public interface IPsychologicalNewsService extends IService<PsychologicalNews> {
    IPage<PsychologicalNews> pagePsychologicalNews(Page<PsychologicalNews> pageParam, String keyword);
    boolean insertPsychologicalNews(PsychologicalNews psychologicalNews);
    boolean deletePsychologicalNewsById(Long id);
    boolean updatePsychologicalNews(PsychologicalNews psychologicalNews);
    PsychologicalNews getPsychologicalNewsById(Long id);
}
